package com.ahcg.sub

class Person private(val name: String) {
  private def getSkill() = name + "s skill is:" + Person.skill
}

object Person {
  private val skill = "basketball"
  private val person = new Person("Tracy")

  def printSkill = println(person.getSkill())

  def main(args: Array[String]): Unit = {
    Person.printSkill
  }
}